#include "contactinfo.h"

#include <QVBoxLayout>
#include <QLabel>
#include <QFile>

ContactInfo::ContactInfo(QWidget *parent) :
    FormInterface(parent)
{
    QVBoxLayout *mainLayout = new QVBoxLayout(this);

    QLabel *label = new QLabel(this);

    QFile file(":/texts/texts/contacts.txt");
    file.open(QFile::ReadOnly);
    label->setText(file.readAll());

    mainLayout->addWidget(label);
    mainLayout->addStretch();
}
